<?php
$this->title = "Delete Task";
$this->headTitle($this->title);
?>
<div class="row">
   <div class="span10">
      <p>Are you sure you want to delete this task?</p>
      <form action="<?=$this->url(array('action' => 'delete')) ?>" method="post">
         <input type="hidden" name="id" value="<?=$this->task['id'] ?>" />
         <input type="hidden" name="project_id" value="<?=$this->project_id ?>" />
         <div class="form-actions">
            <a href="<?=$this->url(array('controller' => 'projects',
                'action' => 'show',
                'id' => $this->project_id), null, true) ?>"
                class="btn">Cancel</a>
            <input type="submit" class="btn btn-danger" name="del" value="Ok"/>
         </div>
      </form>
   </div>
</div>